using ColorFillGame.Application.Commands;
using MediatR;

namespace ColorFillGame.Application.Commands.Game;

public class CreateGameCommand : ICommand<Guid>
{
    public string Name { get; set; }
    public int GridSize { get; set; }
    public int MaxPlayers { get; set; }
    public string CustomGameId { get; set; }

    public CreateGameCommand(string name, int gridSize, int maxPlayers, string customGameId = null)
    {
        Name = name;
        GridSize = gridSize;
        MaxPlayers = maxPlayers;
        CustomGameId = customGameId;
    }
}